<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>
<body>
<div id="app">
    <div v-bind:class="classObject"></div>
</div>
<script src="../../js/vue.js"></script>
<script>
    var vm = new Vue({
        el: '#app',
        computed: {
            classObject: function () {
                return {
                    show: true,
                    'text-danger': false
                }
            }
        }
    })
</script>
</body>
</html>
